﻿using System;
using System.ComponentModel;
using System.Data;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Threading;

namespace MyMailWp8.Tables
{
    public class MailDataContext : DataContext
    {
        /// <summary>
        /// 默认的DB串
        /// </summary>
        public static string ConnectionString = "Data Source=isostore:/MyMailDB.sdf";

        public MailDataContext(string connectionString)
            : base(connectionString)
        { }

        public Table<Account> Accounts;

        public Table<Folder> Folders;

        public Table<Email> Emails;

        public Table<Attachment> Attachments;

    }
}
